﻿{%load thumbnail  %}
{% for news in contacts.object_list %}

   
    <h3>  
           <a href="{{ news.get_absolute_url }}">{{ news|upper }}</a>
    </h3>
   
{% endfor %}

<div class="pagination">
    <span class="step-links">
        {% if contacts.has_previous %}
            <a href="?page={{ contacts.previous_page_number }}">previous</a>
        {% endif %}

        <span class="current">
            Page {{ contacts.number }} of {{ contacts.paginator.num_pages }}.
        </span>

        {% if contacts.has_next %}
            <a href="?page={{ contacts.next_page_number }}">next</a>
        {% endif %}
    </span>
</div>
